package ${package};

import org.zkoss.spring.security.SecurityUtil;
import org.zkoss.zul.Window;

public class SimpleController extends Window {
    private static final long serialVersionUID = 1L;

	
    public void buttonThree() {

    }
    
    public void buttonOne() {
	  
    }
	
	public void buttonTwo() {
	    if (SecurityUtil.isAllGranted("ROLE_Administrator")) {
    	    System.out.println("////////////////////////////////////////////////////////////////////");
    	    System.out.println("//////////                                                //////////");
    	    System.out.println("//////////         ONLY ADMINS CAN RUN THIS METHOD        //////////");
    	    System.out.println("//////////                                                //////////");
    	    System.out.println("////////////////////////////////////////////////////////////////////");
	    }
	}
}
